翻訳と辞書
Words near each other
・ Hill Auditorium
・ Hill Bark
・ Hill Bark Farmhouse
・ Hill baronets
・ Hill Bay
・ Hill Blackett
・ Hill blue flycatcher
・ Hill Brow
・ Hill Brow Preparatory School for Boys
・ Hill Building
・ Hill Carrow
・ Hill castle
・ Hill Cemetery and Parson Hubbard House Historic District
・ Hill censer
・ Hill Center Church
Hill cipher
・ Hill City
・ Hill City Municipal Airport
・ Hill City Township, Graham County, Kansas
・ Hill City, Idaho
・ Hill City, Kansas
・ Hill City, Minnesota
・ Hill City, South Dakota
・ Hill Climb Racing (video game)
・ Hill climbing
・ Hill Close Gardens, Warwick
・ Hill Club
・ Hill College
・ Hill college
・ Hill committee


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Hill cipher : ウィキペディア英語版
Hill cipher

In classical cryptography, the Hill cipher is a polygraphic substitution cipher based on linear algebra. Invented by Lester S. Hill in 1929, it was the first polygraphic cipher in which it was practical (though barely) to operate on more than three symbols at once. The following discussion assumes an elementary knowledge of matrices.
==Operation==
Each letter is represented by a number modulo 26. (Often the simple scheme A = 0, B = 1, ..., Z = 25 is used, but this is not an essential feature of the cipher.) To encrypt a message, each block of ''n'' letters (considered as an ''n''-component vector) is multiplied by an invertible ''n'' × ''n'' matrix, again modulus 26. To decrypt the message, each block is multiplied by the inverse of the matrix used for encryption.
The matrix used for encryption is the cipher key, and it should be chosen randomly from the set of invertible ''n'' × ''n'' matrices (modulo 26). The cipher can, of course, be adapted to an alphabet with any number of letters; all arithmetic just needs to be done modulo the number of letters instead of modulo 26.
Consider the message 'ACT', and the key below (or GYBNQKURP in letters):
:\begin 6 & 24 & 1 \\ 13 & 16 & 10 \\ 20 & 17 & 15 \end
Since 'A' is 0, 'C' is 2 and 'T' is 19, the message is the vector:
:\begin 0 \\ 2 \\ 19 \end
Thus the enciphered vector is given by:
:\begin 6 & 24 & 1 \\ 13 & 16 & 10 \\ 20 & 17 & 15 \end \begin 0 \\ 2 \\ 19 \end = \begin 67 \\ 222 \\ 319 \end \equiv \begin 15 \\ 14 \\ 7 \end \pmod
which corresponds to a ciphertext of 'POH'. Now, suppose that our message is instead 'CAT', or:
:\begin 2 \\ 0 \\ 19 \end
This time, the enciphered vector is given by:
:\begin 6 & 24 & 1 \\ 13 & 16 & 10 \\ 20 & 17 & 15 \end \begin 2 \\ 0 \\ 19 \end \equiv \begin 31 \\ 216 \\ 325 \end \equiv \begin 5 \\ 8 \\ 13 \end \pmod
which corresponds to a ciphertext of 'FIN'. Every letter has changed. The Hill cipher has achieved Shannon's diffusion, and an n-dimensional Hill cipher can diffuse fully across n symbols at once.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Hill cipher」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.